aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenFieldLoadTests]/[method:canGenerateCodeForUserDefinedEffectFieldLoad(org.shedlang.compiler.te...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-11-19 13:04:59 +0000
committerMichael Williamson <mike@zwobble.org>2023-11-19 13:04:59 +0000
commite3ba72306045ab47978950c468022f0098610e46 (patch)
treebed2d373824ad573bcc560a3bb611e22430660a2 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenFieldLoadTests]/[method:canGenerateCodeForUserDefinedEffectFieldLoad(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parent6d71b87e4be3de27432e9efa4d601a0351d68cc4 (diff)
Generate Patio code for accessing effect method
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenFieldLoadTests]/[method:canGenerateCodeForUserDefinedEffectFieldLoad(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenFieldLoadTests]/[method:canGenerateCodeForUserDefinedEffectFieldLoad(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected23
1 files changed, 23 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenFieldLoadTests]/[method:canGenerateCodeForUserDefinedEffectFieldLoad(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenFieldLoadTests]/[method:canGenerateCodeForUserDefinedEffectFieldLoad(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
new file mode 100644
index 00000000..ed1b1c17
--- /dev/null
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenFieldLoadTests]/[method:canGenerateCodeForUserDefinedEffectFieldLoad(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -0,0 +1,23 @@
+Compilation unit elements:
+
+
+Locals:
+ * (val "tmp__fence__0" int)
+ * (val "userDefinedEffectPointer__0" data-ptr)
+
+Instructions:
+
+(
+ (int-to-data-ptr (local "userDefinedEffectPointer__0") (local "b"))
+ (
+ memory-load
+ (local "tmp__fence__0")
+ pointer=(local "userDefinedEffectPointer__0")
+ layout=(struct (int int int))
+ offset=(1)
+ )
+)
+
+Temporary stack:
+ * tmp__fence__0
+ * a